FROM adoptopenjdk/openjdk15-openj9
MAINTAINER foxchen
RUN mkdir -p /home/docker/sara-blog/app
RUN mkdir -p /home/docker/sara-blog/app/logs
WORKDIR /home/docker/sara-blog/app
RUN pwd
COPY poetry-0.0.1-SNAPSHOT.jar app.jar
RUN ls
ENV TZ="Asia/Shanghai"
ENTRYPOINT ["java","-jar","app.jar"]
RUN echo "build app images success............................"
